package com.hundsun.cprs.yyt.service.excel.dao;

import com.hundsun.cprs.yyt.service.excel.domain.ExcelRecord;
import com.hundsun.cprs.yyt.service.excel.domain.query.ExcelRecordQuery;
import com.hundsun.cprs.yyt.service.excel.domain.query.ExcelRecordQuery;

import java.util.List;

public interface ExcelRecordDao {
    int deleteByPrimaryKey(Long id);

    int insert(ExcelRecord record);

    int insertSelective(ExcelRecord record);

    ExcelRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExcelRecord record);

    int updateByPrimaryKey(ExcelRecord record);

    /**
     * 分页查询报表导出记录
     *
     * */
    List<ExcelRecord> queryByPage(ExcelRecordQuery query);

    /**
     * 根据用户id和文件名修改记录状态
     *
     * */
    int modifyRecord(ExcelRecord excelRecord);
}